package com.piggy.logi.sys.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.piggy.common.core.web.domain.BaseTenantEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;


/**
 * 价格区域关联编辑对象 logi_price_district
 *
 * @author piggy
 * @date 2023-08-26
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel("价格区域关联编辑对象")
public class LogiPriceDistrictEditBo extends BaseTenantEntity {


    /** 主键 */
    @ApiModelProperty("主键")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /** 部门Id */
    @ApiModelProperty("部门Id")
    @NotNull(message = "部门Id不能为空")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long planId;

    /** 区域id */
    @ApiModelProperty("区域id")
    @NotNull(message = "区域id不能为空")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long districtId;
}
